package com.firewolf.wx.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.firewolf.wx.dao.CategoryDao;
import com.firewolf.wx.entities.Category;
import com.firewolf.wx.service.CategoryService;

@Service
public class CategoryServiceImpl implements CategoryService {

	@Autowired
	private CategoryDao categoryDao;
	
	@Override
	public List<Category> cates(Integer pid) {
		// TODO Auto-generated method stub
		return categoryDao.cates(pid);
	}

}
